home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE01
/
TIPTRIX
/
DLLOBJ
/
TESTOBJ.PAS
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1995-06-01
|
439 b
|
23 lines
program TestObj;
uses
MyObj, WinCrt; { OBS! WinCrt _must_ be last in the uses statement-
this is due to a "feature" in the compiler... }
var
T : TMyObject;
P : integer;
begin
T := _TMyObject.Create;
try
repeat
writeln('Enter a value for property: ');
readln(P);
T.Prop := P;
T.TestIt;
until P = 0;
finally
T.Free;
DoneWinCrt;
end;
end.